package edu.xhu.model.video.pojos;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel(value = "bili视频章节表")
@Accessors(chain = true)
@Data
@TableName("bili_video_chapter")
public class BiliVideoChapter {

    /**
     * 主码
     */
    @ApiModelProperty(name = "主码", notes = "")
    @TableId(value = "chapter_id")
    private Long chapterId;
    /**
     * 视频id/子视频id
     */
    @ApiModelProperty(name = "视频id/子视频id", notes = "")
    private Long videoId;
    /**
     * 段简介
     */
    @ApiModelProperty(name = "段简介", notes = "")
    private String segmentTitle;
    /**
     * 段编号，第几段
     */
    @ApiModelProperty(name = "段编号，第几段", notes = "")
    private Integer segmentIndex;
    /**
     * 段开始时间，单位秒
     */
    @ApiModelProperty(name = "段开始时间，单位秒", notes = "")
    private Long startTime;
    /**
     * 段结束时间，单位秒
     */
    @ApiModelProperty(name = "段结束时间，单位秒", notes = "")
    private Long endTime;
}
